﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PersonalSettings.aspx.cs" Inherits="KnowFirstWebApplication.PersonalSettings" MasterPageFile="~/Site1.Master" EnableSessionState="ReadOnly"  MaintainScrollPositionOnPostback="True" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content runat="server" ContentPlaceHolderID="ContentPlaceHolder1" ID="PersonalSettingContent">
     <div id="CategoriesTitle" style="vertical-align: middle; text-align: right" >
    <h3 dir="rtl" style="color: #996633" >פרטים אישיים:</h3>
    </div>
    <div>
    
        <br />
        <table class="style1" dir="rtl" border="1" cellpadding="20" cellspacing="10" 
            style="border-style: dashed; margin: 30px;">
            <tr>
                <td class="style2">
                    <asp:Label ID="Label6" runat="server" Text="שם משתמש :"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="tbUserName" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    <asp:Label ID="Label1" runat="server" Text="שם  פרטי :"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="tbFirstName" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    <asp:Label ID="Label2" runat="server" Text="כתובת דוא&quot;ל :"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="tbEmail1" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    <asp:Label ID="Label4" runat="server" Text="סיסמה חדשה : "></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="tbPassword" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    <asp:Label ID="Label5" runat="server" Text="אשר סיסמה : "></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="tbPasswordConfirm" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style2" colspan="2" valign="top" style="text-align:center">
                <asp:CompareValidator ControlToCompare="tbPasswordConfirm" ControlToValidate="tbPassword" ID="CompareValidator1" runat="server" ErrorMessage="הסיסמאות אינן זהות">
    </asp:CompareValidator><br />
                    <asp:Button ID="btnSubmit" runat="server" Text="שמור" Width="100px" 
                        onclick="btnSubmit_Click" />
    
                </td>
            </tr>
        </table>
    
    </div>
    </asp:Content>